home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Performance Co-Pilot 1.3
/
SGI Performance Co-Pilot 1.3.iso
/
dist
/
dist6.4
/
pcp.idb
/
usr
/
share
/
catman
/
u_man
/
cat3
/
PMAPI
/
pmidstr.z
/
pmidstr
Wrap
Text File
|
1997-04-03
|
2KB
|
67 lines
PPPPMMMMIIIIDDDDSSSSTTTTRRRR((((3333)))) PPPPMMMMIIIIDDDDSSSSTTTTRRRR((((3333))))
NNNNAAAAMMMMEEEE
ppppmmmmIIIIDDDDSSSSttttrrrr - convert a performance metric identifier into a string
CCCC SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<ppppccccpppp////ppppmmmmaaaappppiiii....hhhh>>>>
cccchhhhaaaarrrr ****ppppmmmmIIIIDDDDSSSSttttrrrr((((ppppmmmmIIIIDDDD ppppmmmmiiiidddd))))
cccccccc ............ ----llllppppccccpppp
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
For use in error and diagnostic messages, return a `human readable'
version of the specified Performance Metric Identifier (PMID).
Internally, a PMID is encoded as follows;
typedef struct {
int pad:2;
unsigned int domain:8;
unsigned int cluster:12;
unsigned int item:10;
} _pmID_int;
ppppmmmmIIIIDDDDSSSSttttrrrr returns a string with each of the _d_o_m_a_i_n, _c_l_u_s_t_e_r and _i_t_e_m
subfields appearing as decimal numbers, separated by periods.
The string value is held in a single static buffer, so the returned value
is only valid until the next call to ppppmmmmIIIIDDDDSSSSttttrrrr.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
PPPPMMMMAAAAPPPPIIII(3), ppppmmmmIIIInnnnDDDDoooommmmSSSSttttrrrr(3) and ppppmmmmLLLLooooooookkkkuuuuppppDDDDeeeesssscccc(3).
PPPPaaaaggggeeee 1111